package com.mlk.rbac.po;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mlk.core.constants.Constant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 系统用户
 * 
 * @author trek
 *
 */

@Data
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
@SuppressWarnings("serial")
public class SysUser implements Serializable{
	//id
	private Integer id;
	//用户的真实姓名
	private String name;
	// 用户名
	private String username;
	//电话号码
	private String telephone;
	// 邮件
	private String mail;
	//密码
	private String password;
	//部门的id
	private Integer deptId;
	//状态
	private Integer status;
	//备注
	private String remark;
	// 操作人
	private String operator;
	//操作时间
	@JsonFormat(pattern = Constant.DATE_TIME_FORMAT)
	private Date operateTime;

}
